#include <stdio.h>

/**
 * void类型指针
 */ 
int main(void)
{

	int num=10;
	char *str="hello world";

	void *v=NULL;

	v=&num;
	
	printf("%d\n",*(int*)v);

	v=str;

	printf("%s\n",(char*)v);


	return 0;

}
